package com.hm.recycle.mongo.domain;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.hm.common.model.BaseModel;
import com.hm.common.model.BaseVo;
import com.hm.recycle.mongo.util.RecycleMongoDataDef;

import lombok.Getter;
import lombok.Setter;

/**
 * @author shishun.wang
 * @date 2016年5月23日 下午10:55:37
 * @version 1.0
 * @describe
 */
@Setter
@Getter
@Document(collection = RecycleMongoDataDef.Db.Mongo.PREFIX + "db_documnet_update_recycle")
public class DbDocumentUpdateRecycle extends BaseModel {

	private static final long serialVersionUID = 1L;

	@Field("document_def")
	private String documentDef;

	@Field("target_content")
	private BaseVo targetContent;

	@Field("target_Id")
	private String targetId;

	@Field("operation_user")
	private String operationUser;

	private Integer version;

}
